<link rel="stylesheet" href="__CSS__/common.css">
<script src="__JS__/com.message.class.js"></script>
<script>
    $(function () {
        $('[data-toggle="popover"]').popover({placement: 'bottom', trigger: 'manual'}).on("mouseleave",function () {
            var _this = this;
            if (!$(".popover:hover").length) {
                setTimeout(function () {
                    $(_this).popover("hide")
                }, 100);
            }

        }).on("mouseenter", function () {
                    var _this = this;
                    $(_this).popover("show");
                    $(this).siblings(".popover").on("mouseleave", function () {
                        $(_this).popover('hide');
                    });
                })
    })
</script>
{:W('Common/SubMenu/render',array($sub_menu,$current,$MODULE_ALIAS,''))}
